package com.windowes.weichang.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author
 */
public class WShop implements Serializable {
    private Integer id;

    private String shopNo;

    private String name;

    private Integer provinceId;

    private Integer cityId;

    private Integer areaId;

    private Integer streetId;

    private Date createTime;

    private String slogan;

    private String description;
    private String shopkeeper;
    private String imageUrl;
    private String dtlAddress;
    private String standAddress;
    private Integer operateType;
    private String phone;

    /**
     * 负责人id
     */
    private Integer userId;

    private BigDecimal longtitude;

    private BigDecimal latitude;

    private static final long serialVersionUID = 1L;
    private Integer distance;

    private String location;


    private String bornFrom;
    private String shopPhone;
    private Integer years;
    private String brand;
    private Boolean hasWorkShop;
    private Boolean zdMachine;
    private Boolean zdTran;
    private String incomePerMonth;
    private String distanceKm;

    /**
     * 服务评分
     */
    private Integer score;

    /**
     * 订单数量
     */
    private Integer orderNum;

    /**
     * 均单价
     */
    private BigDecimal averageOrderPrice;

    /**
     * 总交易额
     */
    private BigDecimal totalPrice;

    /**
     * 出勤率
     */
    private Long participateRate;

    /**
     * 上门次数
     */
    private Integer arrivalCount;

    /**
     * 取消订单次数
     */
    private Integer cancleCount;


    private Integer deptId;
    private Integer acceptRate;
    private Integer commentNum;

    /**
     * 综合评分
     */
    private Integer comprehensiveStar;

    /**
     * 服务态度
     */
    private Integer serviceStar;

    /**
     * 安装打分
     */
    private Integer installStar;

    /**
     * 质量打分
     */
    private Integer qualityStar;

    private Integer handleStar;

    /**
     * 高德地图对应itemId
     */
    private String geoId;


    public String getGeoId() {
        return geoId;
    }

    public void setGeoId(String geoId) {
        this.geoId = geoId;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getComprehensiveStar() {
        return comprehensiveStar;
    }

    public void setComprehensiveStar(Integer comprehensiveStar) {
        this.comprehensiveStar = comprehensiveStar;
    }

    public Integer getServiceStar() {
        return serviceStar;
    }

    public void setServiceStar(Integer serviceStar) {
        this.serviceStar = serviceStar;
    }

    public Integer getInstallStar() {
        return installStar;
    }

    public void setInstallStar(Integer installStar) {
        this.installStar = installStar;
    }

    public Integer getQualityStar() {
        return qualityStar;
    }

    public void setQualityStar(Integer qualityStar) {
        this.qualityStar = qualityStar;
    }

    public Integer getHandleStar() {
        return handleStar;
    }

    public void setHandleStar(Integer handleStar) {
        this.handleStar = handleStar;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getDistanceKm() {
        if (distance == null) {
            return "--";
        }
        distanceKm = (distance * 1.0 / 1000) + "";
        return distanceKm;
    }

    public void setDistanceKm(String distanceKm) {
        this.distanceKm = distanceKm;
    }

    /**
     * T - 审核通过 P- 审核中 F-审核驳回
     */
    private String applyState;

    public String getBornFrom() {
        return bornFrom;
    }

    public void setBornFrom(String bornFrom) {
        this.bornFrom = bornFrom;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Integer getStreetId() {
        return streetId;
    }

    public void setStreetId(Integer streetId) {
        this.streetId = streetId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSlogan() {
        return slogan;
    }

    public void setSlogan(String slogan) {
        this.slogan = slogan;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public BigDecimal getLongtitude() {
        return longtitude;
    }

    public void setLongtitude(BigDecimal longtitude) {
        this.longtitude = longtitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public String getShopkeeper() {
        return shopkeeper;
    }

    public void setShopkeeper(String shopkeeper) {
        this.shopkeeper = shopkeeper;
    }


    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getDtlAddress() {
        return dtlAddress;
    }

    public void setDtlAddress(String dtlAddress) {
        this.dtlAddress = dtlAddress;
    }

    public String getStandAddress() {
        return standAddress;
    }

    public void setStandAddress(String standAddress) {
        this.standAddress = standAddress;
    }

    public Integer getOperateType() {
        return operateType;
    }

    public void setOperateType(Integer operateType) {
        this.operateType = operateType;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setDistance(Integer distance) {
        this.distance = distance;
    }

    public Integer getDistance() {
        return distance;
    }


    public String getShopPhone() {
        return shopPhone;
    }

    public void setShopPhone(String shopPhone) {
        this.shopPhone = shopPhone;
    }

    public Integer getYears() {
        return years;
    }

    public void setYears(Integer years) {
        this.years = years;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public Boolean getHasWorkShop() {
        return hasWorkShop;
    }

    public void setHasWorkShop(Boolean hasWorkShop) {
        this.hasWorkShop = hasWorkShop;
    }

    public Boolean getZdMachine() {
        return zdMachine;
    }

    public void setZdMachine(Boolean zdMachine) {
        this.zdMachine = zdMachine;
    }

    public Boolean getZdTran() {
        return zdTran;
    }

    public void setZdTran(Boolean zdTran) {
        this.zdTran = zdTran;
    }

    public String getIncomePerMonth() {
        return incomePerMonth;
    }

    public void setIncomePerMonth(String incomePerMonth) {
        this.incomePerMonth = incomePerMonth;
    }

    public String getApplyState() {
        return applyState;
    }

    public void setApplyState(String applyState) {
        this.applyState = applyState;
    }


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public BigDecimal getAverageOrderPrice() {
        return averageOrderPrice;
    }

    public void setAverageOrderPrice(BigDecimal averageOrderPrice) {
        this.averageOrderPrice = averageOrderPrice;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Long getParticipateRate() {
        return participateRate;
    }

    public void setParticipateRate(Long participateRate) {
        this.participateRate = participateRate;
    }

    public Integer getArrivalCount() {
        return arrivalCount;
    }

    public void setArrivalCount(Integer arrivalCount) {
        this.arrivalCount = arrivalCount;
    }

    public Integer getCancleCount() {
        return cancleCount;
    }

    public void setCancleCount(Integer cancleCount) {
        this.cancleCount = cancleCount;
    }


    public String getShopNo() {
        return shopNo;
    }

    public void setShopNo(String shopNo) {
        this.shopNo = shopNo;
    }

    public void setAcceptRate(Integer acceptRate) {
        this.acceptRate = acceptRate;
    }

    public Integer getAcceptRate() {
        return acceptRate;
    }

    public void setCommentNum(Integer commentNum) {
        this.commentNum = commentNum;
    }

    public Integer getCommentNum() {
        return commentNum;
    }
}